package com.chaodev.base.service;

import com.github.pagehelper.PageInfo;
import com.chaodev.base.dto.ExplanationLineDto;
import com.chaodev.base.model.ExplanationLine;

import java.util.List;

public interface ExplanationLineService {

    /**
     * 新增导览解说线路
     * @param explanationLine
     * @return
     */
    boolean addExplanationLine(ExplanationLine explanationLine);

    /**
     * 修改导览解说线路
     * @param explanationLine
     * @return
     */
    boolean editExplanationLine(ExplanationLine explanationLine);

    /**
     * 保存导览解说线路
     * @param explanationLine
     * @return
     */
    boolean saveExplanationLine(ExplanationLine explanationLine);

    /**
     * 删除导览解说线路
     * @param explanationLine
     * @return
     */
    boolean removeExplanationLine(ExplanationLine explanationLine);

    /**
     * 查询导览解说线路列表
     * @param explanationLineDto
     * @return
     */
    List<ExplanationLine> getExplanationLineList(ExplanationLineDto explanationLineDto);

    /**
     * 查询单条导览解说线路
     * @param explanationLine
     * @return
     */
    ExplanationLine getExplanationLineById(ExplanationLine explanationLine);

    /**
     * 查询导览解说线路列表分页
     * @param explanationLineDto
     * @return
     */
    PageInfo<ExplanationLine> getExplanationLinePage(ExplanationLineDto explanationLineDto);
    
}
